package com.woniu.zsd.order.client;


import com.woniu.config.FeignConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
@Component
@FeignClient(name = "zsd-order", configuration = FeignConfig.class)
public interface ZsdOrderClient {

    @GetMapping("/order-info/isOrderFinish")
    boolean isOrderFinish(@RequestParam("userId") Integer userId, @RequestParam("siteId")Integer siteId);

}
